package com.edu.tool.service.user;


import com.edu.tool.bean.user.SysLoginToken;

import java.util.Map;

/**
 * 
 * @FileName：SysLoginTokenService.java
 * @Description：@TODO
 * @Author：ruixj
 * @CreateTime：下午3:18:23
 */
public interface SysLoginTokenService {

	SysLoginToken createTokenPortal(Integer tenantId,
									String loginType,
									Integer userId,
									Integer contactId,
									Integer investAccountId,
									String clientIp,
									String loginChannel);

	SysLoginToken getByid(String token);
	
	void refresh(Integer id, Integer hours);
	
	Map check(String token);

	Map getByLoginChannel(Integer tenantId, String loginChannel);
}